#include <iostream>

#include <vector>

using namespace std;

int main(int argc, const char *argv[])
{
    vector<int> m_vec;
    cout << m_vec.size() << endl;
    m_vec.reserve(10);
    m_vec.push_back(1);
    m_vec[1] = 2;
    cout << m_vec.size() << endl;
    for (int i = 0; i < m_vec.size(); i++) {
        cout << m_vec[i] << endl;
    }
    return 0;
}
